package com.woniuxy.project.campus.account.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 真实姓名
     */
    @TableField("name")
    private String name;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 年龄
     */
    @TableField("age")
    private Integer age;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;

    /**
     * 角色名
     */
    @TableField("role_name")
    private String roleName;

    /**
     * 角色id
     */
    @TableField("role_id")
    private Integer roleId;

    /**
     * 头像
     */
    @TableField("headPortrait")
    private String headPortrait;

    /**
     * 昵称
     */
    @TableField("re_name")
    private String reName;

    @TableField("password")
    private String password;


}
